package com.moarea.app.util;

import java.util.List;

public class AnyFormatDocProp {
	
	
	private String type="csv";
	private String mode = AnyFormatDocumentConstant.SIMPLE_MODE;
	private String contxt_title;
	private List<String[]> contxt_titleAttach;
	private List<String[]> contxt_endAttach;
	private boolean contxt_titleAttach_align = false;
	private String contxt_head;
	private String[] contxt_total;
	private String create_date;
	private int[] columnWidth;
	private String papeStyle;
	
	private String contxt_SubTitle;
	
	private String orgName;
	private String orgNameTitle;
	private String range;
	private String rangeTitle;
	private String[][] columnContxt; 
	
	private String[] firstDataColumn;
	/**
	 * 数据列头二层表头支持合并单元格
	 * @return
	 */
	public String[] getFirstDataColumn() {
		return firstDataColumn;
	}
	/**
	 * 数据列头二层表头支持合并单元格
	 * @param firstDataColumn
	 */
	public void setFirstDataColumn(String[] firstDataColumn) {
		this.firstDataColumn = firstDataColumn;
	}
	/**
	 * get column  head :    {{name,key},{name,key}}
	 * @return
	 */
	public String[][] getColumnContxt() {
		return columnContxt;
	}
	/**
	 * set column  head :    {{name,key},{name,key}}
	 * @param columnContxt
	 */
	public void setColumnContxt(String[][] columnContxt) {
		this.columnContxt = columnContxt;
	}
	/**
	 * 列印范围
	 * @return
	 */
	public String getRange() {
		return range;
	}
	/**
	 * 列印范围
	 * @param range
	 */
	public void setRange(String range) {
		this.range = range;
	}
	/**
	 * 列账单位
	 * @return
	 */
	public String getOrgName() {
		return orgName;
	}
	/**
	 * 列账单位
	 * @param orgName
	 */
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	/**
	 * 副标题
	 * @return
	 */
	public String getContxt_SubTitle() {
		return contxt_SubTitle;
	}
	/**
	 * 副标题
	 * @param contxt_SubTitle
	 */
	public void setContxt_SubTitle(String contxt_SubTitle) {
		this.contxt_SubTitle = contxt_SubTitle;
	}
	/**
	 * 表格下方补充内容
	 * @return
	 */
	public List<String[]> getContxt_endAttach() {
		return contxt_endAttach;
	}
	/**
	 *  表格下方补充内容
	 * @param contxtEndAttach
	 */
	public void setContxt_endAttach(List<String[]> contxtEndAttach) {
		contxt_endAttach = contxtEndAttach;
	}
	/**
	 * 纸张属性
	 * 如：A3,A4
	 * @return
	 */
	public String getPapeStyle() {
		return papeStyle;
	}
	/**
	 * 纸张属性
	 * 如：A3,A4
	 */
	public void setPapeStyle(Object papeStyle) {
		if(papeStyle != null)
			this.papeStyle = papeStyle.toString();
	}
	/**
	 * 表格所有列长度集合
	 * @return
	 */
	public int[] getColumnWidth() {
		return columnWidth;
	}
	/**
	 * 表格所有列长度集合
	 * @param columnWidth
	 */
	public void setColumnWidth(int[] columnWidth) {
		this.columnWidth = columnWidth;
	}
	/**
	 * 标题下方补充内容_是否对齐
	 * @return
	 */
	public boolean isContxt_titleAttach_align() {
		return contxt_titleAttach_align;
	}
	/**
	 * 标题下方补充内容_是否对齐
	 * @param contxtTitleAttachAlign
	 */
	public void setContxt_titleAttach_align(boolean contxtTitleAttachAlign) {
		contxt_titleAttach_align = contxtTitleAttachAlign;
	}
	/**
	 * 标题下方补充内容
	 * @return
	 */
	public List<String[]> getContxt_titleAttach() {
		return contxt_titleAttach;
	}
	/**
	 * 标题下方补充内容
	 * @param contxtTitleAttach
	 */
	public void setContxt_titleAttach(List<String[]> contxtTitleAttach) {
		contxt_titleAttach = contxtTitleAttach;
	}
	/**
	 * 表格生成日期
	 * @return
	 */
	public String getCreate_date() {
		return create_date;
	}
	/**
	 * 表格生成日期
	 * @param createDate
	 */
	public void setCreate_date(Object createDate) {
		if(createDate != null)
			create_date = createDate.toString();
	}
	/**
	 * 文档类型
	 * @return
	 */
	public String getType() {
		return type;
	}
	/**
	 * 文档类型
	 * @param type
	 */
	public void setType(Object type) {
		if(type != null)
			this.type = type.toString();
	}
	/**
	 * 导出模式
	 * @return
	 */
	public String getMode() {
		return mode;
	}
	/**
	 * 导出模式
	 * @param mode
	 */
	public void setMode(Object mode) {
		if(mode != null)
			this.mode = mode.toString();
	}
	/**
	 * 文档标题
	 * @return
	 */
	public String getContxt_title() {
		return contxt_title;
	}
	/**
	 * 文档标题
	 * @param contxtTitle
	 */
	public void setContxt_title(Object contxtTitle) {
		if(contxtTitle != null)
			contxt_title = contxtTitle.toString();
	}
	/**
	 * 文档表头
	 * @return
	 */
	public String getContxt_head() {
		return contxt_head;
	}
	/**
	 * 文档表头
	 * @param contxtHead
	 */
	public void setContxt_head(Object contxtHead) {
		if(contxtHead != null)
			contxt_head = contxtHead.toString();
	}
	/**
	 * 合计项
	 * @return
	 */
	public String[] getContxt_total() {
		return contxt_total;
	}
	/**
	 * 合计项
	 * @param contxtTotal
	 */
	public void setContxt_total(String[] contxtTotal) {
		//if(contxtTotal != null)
			contxt_total = contxtTotal;
	}
	public String getOrgNameTitle() {
		return orgNameTitle;
	}
	public void setOrgNameTitle(String orgNameTitle) {
		this.orgNameTitle = orgNameTitle;
	}
	public String getRangeTitle() {
		return rangeTitle;
	}
	public void setRangeTitle(String rangeTitle) {
		this.rangeTitle = rangeTitle;
	}
	
	
	
	

}
